package com.ruoyi.elebook.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 目录范围对象 book_catalog_scope
 * 
 * @author ruoyi
 * @date 2023-12-11
 */
public class BookCatalogScope extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 目录id */
    private Long id;

    /** 目录名称 */
    @Excel(name = "目录名称")
    private String catalogName;

    /** 目录起始页 */
    @Excel(name = "目录起始页")
    private Long catalogScopeStart;

    /** 目录结束页 */
    @Excel(name = "目录结束页")
    private Long catalogScopeEnd;

    /** 电子书id */
    @Excel(name = "电子书id")
    private Long elebookId;

    /** 目录排序 */
    @Excel(name = "目录排序")
    private Long sort;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCatalogName(String catalogName) 
    {
        this.catalogName = catalogName;
    }

    public String getCatalogName() 
    {
        return catalogName;
    }
    public void setCatalogScopeStart(Long catalogScopeStart) 
    {
        this.catalogScopeStart = catalogScopeStart;
    }

    public Long getCatalogScopeStart() 
    {
        return catalogScopeStart;
    }
    public void setCatalogScopeEnd(Long catalogScopeEnd) 
    {
        this.catalogScopeEnd = catalogScopeEnd;
    }

    public Long getCatalogScopeEnd() 
    {
        return catalogScopeEnd;
    }
    public void setElebookId(Long elebookId) 
    {
        this.elebookId = elebookId;
    }

    public Long getElebookId() 
    {
        return elebookId;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("catalogName", getCatalogName())
            .append("catalogScopeStart", getCatalogScopeStart())
            .append("catalogScopeEnd", getCatalogScopeEnd())
            .append("elebookId", getElebookId())
            .append("sort", getSort())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
